Using Dependent Types to Certify the Safety of Assembly Code
نویسندگان
چکیده
There are many source-level analyses or instrumentation tools that enforce various safety properties. In this paper we present an infrastructure that can be used to check independently that the assembly output of such tools has the desired safety properties. By working at assembly level we avoid the complications with unavailability of source code, with source-level parsing, and we certify the code that is actually deployed. The novel feature of the framework is an extensible dependently-typed framework that supports type inference and mutation of dependent values in memory. The type system can be extended with new types as needed for the source-level tool that is certified. Using these dependent types, we are able to express the invariants enforced by CCured, a sourcelevel instrumentation tool that guarantees type safety in legacy C programs. We can therefore check that the x86 assembly code resulting from compilation with CCured is in fact type-safe.
منابع مشابه
Sharing in Typed Module Assembly Language
There is a growing need to provide low-overhead software-based protection mechanisms to protect against malicious or untrusted code. Type-based approaches such as proof-carrying code and typed assembly language provide this protection by relying on untrusted compilers to certify the safety properties of machine language programs. Typed Module Assembly Language (TMAL) is an extension of typed as...
متن کاملCALIFORNIA ENVIRONMENTAL PROTECTION AGENCY DEPARTMENT OF TOXIC SUBSTANCES CONTROL Notice of Intent to Deny Re-Certification Hazardous Waste Environmental Technology The California Environmental Protection Agency, Department of Toxic Substances Control
Section 25200.1.5., Health and Safety Code, enacted by Assembly Bill 2060, authorizes DTSC to certify the performance of hazardous waste environmental technologies. Only technologies which are determined to not pose a significant potential hazard to the public health and safety or to the environment when used under specified operating conditions may be certified. Incineration technologies are e...
متن کاملIdentification of Safe Assembly Points in Emergencies in a Gas Refinery of the South Pars Gas Complex Using Fuzzy Logic Model
INTRODUCTION: Crisis management is of critical importance in the oil and gas industries due to the increasing occurrence of accidents in these areas. One of the most important issues regarding crisis management in such industries is the identification of safety assembly points where employees should gather in emergencies. This study aimed to identify the safe points in a refinery using geo...
متن کاملA Framework for Certified Low-Level and Operating Systems Code
Certified code technology and type systems research has reached a point where it is now possible to certify advanced safety and security properties of low-level systems code. It has become common practice to use type systems for reasoning about and verifying properties of programs. The growth of distributed computing, webbased services, and mobile-code infrastructures means that the need for su...
متن کاملکاربرد روشهای هیورستیک اولویت وزنی و طولانی ترین زمان عملیات (LCR) متعادل سازی خطوط مونتاژ و تاثیر آن بر عملکرد سازمان
According to researches, one of the productivity barriers among many organizations is assembly line balancing problem, which needs scientific models to be solved. This paper examines the effect of line balancing on the functioning of assembly line in two sections. In the first section, after studying the theoretic bases and reviewing the literature, we have discussed the assembly concepts, diff...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2005